using Microsoft.Silverlight.Testing;

public class EnqueuedSleep
{
    private readonly SilverlightTest test;
    private readonly int seconds;

    public EnqueuedSleep(SilverlightTest test, int seconds)
    {
        this.test = test;
        this.seconds = seconds;
    }

    public void Seconds()
    {
        test.EnqueueSleep(seconds*1000);
    }
    public void MilliSeconds()
    {
        test.EnqueueSleep(seconds );
    }
}